﻿///----------------------------------------------------------------
/// Copyright (C) 2008-2010 yyssoft
/// 版权所有。
///
/// 文件名：TB_QDJInfo.cs
/// 文件功能描述：TB_QDJ实体类
///
///
/// 创建标识：yyssoft 2013/11/21
///
/// 修改标识：
/// 修改描述：
///
/// 修改标识：
/// 修改描述：
///---------------------------------------------------------------
using System;
using System.Xml;
using System.Xml.Serialization;

namespace DQYT.HTDZ.Model
{
    /// <summary>
    /// TB_QDJ的实体类
    /// </summary>
    [Serializable]
    public class TB_QDJInfo 
    {

        #region 构造函数

        public TB_QDJInfo()
        { }

        #endregion 构造函数

        #region 常量属性

        public const string TB_QDJ_TABLE = "TB_QDJ";
        public const string QX_FIELD = "QX";
        public const string QDJ_FIELD = "QDJ";
        public const string ZYLQX_FIELD = "ZYLQX";
        public const string ID_FIELD = "ID";
        public const string DX_FIELD = "DX";
        public const string DDJ_FIELD = "DDJ";


        #endregion 常量属性

        #region 私有变量

        private string _qx;
        private decimal _qdj = int.MinValue;
        private string _zylqx;
        private int _id = int.MinValue;
        private string _dx;
        private decimal _ddj = int.MinValue;

        #endregion 私有变量

        #region 属性

        /// <summary>
        /// 枪型
        /// </summary>
        [XmlAttribute(AttributeName = "QX")]
        public string QX
        {
            set { _qx = value; }
            get { return _qx; }
        }

        /// <summary>
        /// 枪单价
        /// </summary>
        [XmlAttribute(AttributeName = "QDJ")]
        public decimal QDJ
        {
            set { _qdj = value; }
            get { return _qdj; }
        }

        /// <summary>
        /// 周艳丽枪型
        /// </summary>
        [XmlAttribute(AttributeName = "ZYLQX")]
        public string ZYLQX
        {
            set { _zylqx = value; }
            get { return _zylqx; }
        }

        /// <summary>
        /// 编号
        /// </summary>
        [XmlAttribute(AttributeName = "ID")]
        public int ID
        {
            set { _id = value; }
            get { return _id; }
        }

        /// <summary>
        /// 弹型
        /// </summary>
        [XmlAttribute(AttributeName = "DX")]
        public string DX
        {
            set { _dx = value; }
            get { return _dx; }
        }

        /// <summary>
        /// 弹单价
        /// </summary>
        [XmlAttribute(AttributeName = "DDJ")]
        public decimal DDJ
        {
            set { _ddj = value; }
            get { return _ddj; }
        }

        #endregion 属性


    }
}

